import { createStore } from 'vuex'

import global from './modules/global'
import iframe from './modules/iframe'
import keepAlive from './modules/keepAlive'
import viewTags from './modules/viewTags'
import search from './modules/search'
import approval from './modules/approval'
import appinfo from './modules/appinfo'
import pushUserId from './modules/pushUserId'
// 自动import导入所有 vuex 模块
export default createStore({
	modules: {
		global,
		iframe,
		keepAlive,
		viewTags,
		search,
		approval,
		appinfo,
		pushUserId
	}
})
